package com.heima.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Scanner;

public class Sli4j {
   private static final Logger LOGGER= LoggerFactory.getLogger(Sli4j.class);

    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        String line = sc.next();
        try {
            int i = Integer.parseInt(line);
            LOGGER.info("正确");
        } catch (NumberFormatException e) {
            LOGGER.error("错误");
        }


    }

}